package com.kube.gateway.core.router.domain.mapper;

import com.kube.gateway.core.router.domain.dto.RouterQuery;
import com.kube.gateway.core.router.domain.entity.RouterEntity;

import java.util.List;

public interface RouterMapper {

    RouterEntity getById(Long id);

    List<RouterEntity> list(RouterQuery routerQuery);

    Integer save(RouterEntity routerEntity);

    Integer update(RouterEntity routerEntity);

}
